package com.backend.service;

import com.backend.common.PageHelper;
import com.backend.config.Result;
import io.swagger.models.auth.In;

import java.util.List;

public interface AssInforService {
    /**
     * 查询社团信息;
     * @param id  ;
     * @return
     */

    Result lookUpAllAss(Integer id);

    Result getAllAss(String userId,String assId);

    Result getAllAssByAdmin();

    Result JoinAss(String userId,String assId);

    Result lookUpAllAssAdmin(PageHelper pageHelper);

    /**
     * 查询社团，通过名称查询社团
     * @param assName ;
     * @return
     */
    Result lookUpAssByName(String assName);

    Result getPageTotle(Integer pageSize);
}
